package com.friendtrip.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.friendtrip.service.BusinessCreditService;

/**
 * <p>
 * 商家信用表 前端控制器
 * </p>
 *
 * @author william.lee
 * @since 2017-04-04
 */
@RestController
@RequestMapping("/businessCredit")
public class BusinessCreditController extends BaseController {
    @Autowired
    private BusinessCreditService service;

    @RequestMapping("/test")
    public Message test() {
        return setOkMessage(service.selectById(1));
    }

}
